package com.lzy.business.response;

import com.lzy.product.dtos.ConditionDto;
import com.lzy.product.dtos.ProductClassifyDto;

import java.io.Serializable;
import java.util.List;

/**
 * Created by WIN7 on 2017/12/12.
 */
public class ProductSaleLevelResponse implements Serializable {
    private static final long serialVersionUID = 4508405210403184685L;

    /**
     * id
     */
    private Long id;

    /**
     * 开通下级条件id
     */
    private Long conditionId;

    /**
     * 产品分类id
     */
    private Long classifyId;

    /**
     * 新增人id
     */
    private Long createUser;

    /**
     * 新增时间
     */
    private String createTime;

    /**
     * 更新人id
     */
    private Long updateUser;

    /**
     * 更新时间
     */
    private String updateTime;

    /**
     * 是否删除（0-正常 1-删除）
     */
    private Boolean deleted;

    /***************新添字段****************/
    /**
     * 新增人姓名
     */
    private String createUserName;

    /**
     * 关联分类名称
     */
    private String classifyName;

    /**
     * 条件名称
     */
    private String conditionName;

    /**
     * 分类列表
     */
    private List<ProductClassifyDto> classifyList;

    /**
     * 条件列表
     */
    private List<ConditionDto> conditionList;

    /**
     * 阶段条件数组
     */
    private String[] numberArr;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getConditionId() {
        return conditionId;
    }

    public void setConditionId(Long conditionId) {
        this.conditionId = conditionId;
    }

    public Long getClassifyId() {
        return classifyId;
    }

    public void setClassifyId(Long classifyId) {
        this.classifyId = classifyId;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.substring(0, createTime.length() - 2);
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName;
    }

    public String getConditionName() {
        return conditionName;
    }

    public void setConditionName(String conditionName) {
        this.conditionName = conditionName;
    }

    public List<ProductClassifyDto> getClassifyList() {
        return classifyList;
    }

    public void setClassifyList(List<ProductClassifyDto> classifyList) {
        this.classifyList = classifyList;
    }

    public List<ConditionDto> getConditionList() {
        return conditionList;
    }

    public void setConditionList(List<ConditionDto> conditionList) {
        this.conditionList = conditionList;
    }

    public String[] getNumberArr() {
        return numberArr;
    }

    public void setNumberArr(String[] numberArr) {
        this.numberArr = numberArr;
    }
}
